<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      PSUtils-p17
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;50.&nbsp;PostScript
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="enscript.html" title=
          "Enscript-1.6.6">Prev</a>
          <p>
            Enscript-1.6.6
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="epdfview.html" title=
          "ePDFView-0.1.8">Next</a>
          <p>
            ePDFView-0.1.8
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="ps.html" title=
          "Chapter&nbsp;50.&nbsp;PostScript">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="psutils" name="psutils"></a>PSUtils-p17
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to PSUtils
        </h2>
        <p>
          <span class="application">PSUtils</span> is a set of utilities to
          manipulate PostScript files.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://pkgs.fedoraproject.org/repo/pkgs/psutils/psutils-p17.tar.gz/b161522f3bd1507655326afa7db4a0ad/psutils-p17.tar.gz">
                http://pkgs.fedoraproject.org/repo/pkgs/psutils/psutils-p17.tar.gz/b161522f3bd1507655326afa7db4a0ad/psutils-p17.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: b161522f3bd1507655326afa7db4a0ad
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 68 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 740 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/psutils">http://wiki.linuxfromscratch.org/blfs/wiki/psutils</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of PSUtils
        </h2>
        <p>
          Install <span class="application">PSUtils</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class=
"command">sed 's@/usr/local@/usr@g' Makefile.unix &gt; Makefile &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed 's@/usr/local@/usr@g'
          Makefile.unix &gt; Makefile</strong></span>: This command creates a
          <code class="filename">Makefile</code> that installs the program to
          the <code class="filename">/usr</code> prefix instead of the
          <code class="filename">/usr/local</code> prefix.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">epsffit, extractres, fixdlsrps, fixfmps,
              fixmacps, fixpsditps, fixpspps, fixscribeps, fixtpps, fixwfwps,
              fixwpps, fixwwps, getafm, includeres, psbook, psmerge, psnup,
              psresize, psselect, pstops, and showchar</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/share/psutils</span>
            </div>
          </div>
        </div>
        <p>
          Sometimes <span class="command"><strong>psnup</strong></span> and
          other utilities from this package produce PostScript files that
          don't conform to Adobe's DSC standard. <span class=
          "application">CUPS</span> may print them incorrectly. On the other
          hand, <span class="application">CUPS</span> has builtin
          replacements for most commands from this package. For example, to
          print a document 2-up, you can issue this command:
        </p>
        <pre class="userinput">
<kbd class="command">lp -o number-up=2 <em class=
"replaceable"><code>&lt;filename&gt;</code></em></kbd>
</pre>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="epsffit" name="epsffit"></a><span class=
                    "term"><span class=
                    "command"><strong>epsffit</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    fits an EPSF file to a given bounding box.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="extractres" name="extractres"></a><span class=
                    "term"><span class=
                    "command"><strong>extractres</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a filter to extract resources from a PostScript
                    document.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="fixprogs" name="fixprogs"></a><span class=
                    "term"><span class=
                    "command"><strong>fix*</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    are filters of different kinds of documents to work with
                    PSUtils.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="getafm" name="getafm"></a><span class=
                    "term"><span class=
                    "command"><strong>getafm</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    create an AFM file for a PostScript font.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="includeres" name="includeres"></a><span class=
                    "term"><span class=
                    "command"><strong>includeres</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a filter to include resources in a PostScript
                    document.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="psbook" name="psbook"></a><span class=
                    "term"><span class=
                    "command"><strong>psbook</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    rearranges pages into signatures.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="psmerge" name="psmerge"></a><span class=
                    "term"><span class=
                    "command"><strong>psmerge</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a filter to merge several PostScript files into one.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="psnup" name="psnup"></a><span class=
                    "term"><span class=
                    "command"><strong>psnup</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    puts multiple pages per physical sheet of paper.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="psresize" name="psresize"></a><span class=
                    "term"><span class=
                    "command"><strong>psresize</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    alters the document paper size.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="psselect" name="psselect"></a><span class=
                    "term"><span class=
                    "command"><strong>psselect</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    selects pages and page ranges.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="pstops" name="pstops"></a><span class=
                    "term"><span class=
                    "command"><strong>pstops</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    performs general page rearrangements and selection.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="showchar" name="showchar"></a><span class=
                    "term"><span class=
                    "command"><strong>showchar</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    outputs PostScript to draw a character with metric info.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-19 16:31:22 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="enscript.html" title=
          "Enscript-1.6.6">Prev</a>
          <p>
            Enscript-1.6.6
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="epdfview.html" title=
          "ePDFView-0.1.8">Next</a>
          <p>
            ePDFView-0.1.8
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="ps.html" title=
          "Chapter&nbsp;50.&nbsp;PostScript">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
